package com.skillworld.webapp.model.userservice;

@SuppressWarnings("serial")
public class NotTeamMemberException extends Exception 
{
    private Long userId;
    private Long teamId;
    
    public NotTeamMemberException(Long userId,
            Long teamId) 
    {
        super("User" + userId + "' does not belong to '" + teamId + "Team");
        this.userId = userId;
        this.teamId = teamId;
    }

    public Long getUserId() {
        return userId;
    }

    public Long getTeamId() {
        return teamId;
    }
    
    
    
    
}
